package oc.tm.sg.core.rpc.po;

/**
 * 服务配置
 * @author lry
 */
public class ServicePo {
	
	//唯一服务区别
	/**
	 * 服务接口
	 */
	private String service;
	/**
	 * 服务分组
	 */
	private String group;
	/**
	 * 版本号
	 */
	private String version;
	
	//基本信息
	/**
	 * 负责人
	 */
	private String owner;
	/**
	 * 负责人所属组织
	 */
	private String organization;
	/**
	 * 暴露的方法
	 */
	private String method;
	/**
	 * 权重:默认为100
	 */
	private int weight=100;
	/**
	 * 服务使用状态:默认为“正常”,否则为“禁用”
	 */
	private boolean stat=true;
	
	//可选属性
	/**
	 * 标题
	 */
	private String title="";
	/**
	 * 说明信息
	 */
	private String msg="";
	
	public String getService() {
		return service;
	}
	public void setService(String service) {
		this.service = service;
	}
	public String getGroup() {
		return group;
	}
	public void setGroup(String group) {
		this.group = group;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getOwner() {
		return owner;
	}
	public void setOwner(String owner) {
		this.owner = owner;
	}
	public String getOrganization() {
		return organization;
	}
	public void setOrganization(String organization) {
		this.organization = organization;
	}
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}
	public int getWeight() {
		return weight;
	}
	public void setWeight(int weight) {
		this.weight = weight;
	}
	public boolean getStat() {
		return stat;
	}
	public void setStat(boolean stat) {
		this.stat = stat;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
}
